<template>
    <div>
      <MyProduct :list="list" />
    </div>   
</template>

<script>
import MyProduct from "@/components/MyProduct"
export default {
    data () {
        return {
            list: [
                {
                    title: "热卖",
                    arr: [
                        {src: "/static/images/product/01-1.jpg", txt: "xdf"},
                        {src: "/static/images/product/01-2.jpg", txt: "dff"},
                        {src: "/static/images/product/01-3.jpg", txt: "ef"},
                        {src: "/static/images/product/01-4.jpg", txt: "ffd"}
                    ]
                },
                {
                    title: "被芯",
                    arr: [
                        {src: "/static/images/product/02-1.jpg", txt: "被芯"},
                        {src: "/static/images/product/02-2.jpg", txt: "被芯"},
                        {src: "/static/images/product/02-3.jpg", txt: "被芯"},
                        {src: "/static/images/product/02-4.jpg", txt: "被芯"}
                    ]
                },
                {
                    title: "枕头",
                    arr: [
                        {src: "/static/images/product/03-1.jpg", txt: "枕头"},
                        {src: "/static/images/product/03-2.jpg", txt: "枕头"},
                        {src: "/static/images/product/03-3.jpg", txt: "枕头"},
                        {src: "/static/images/product/03-4.jpg", txt: "枕头"}
                    ]
                },
                {
                    title: "套件",
                    arr: [
                        {src: "/static/images/product/04-1.jpg", txt: "套件"},
                        {src: "/static/images/product/04-2.jpg", txt: "套件"},
                        {src: "/static/images/product/04-3.jpg", txt: "套件"},
                        {src: "/static/images/product/04-4.jpg", txt: "套件"}
                    ]
                }
            ]
        }
    },
    components: {
        MyProduct
    }
}
</script>

<style>

</style>